package com.sporadic.client.service.impl;

import com.sporadic.client.mapper.DishesTypeMapper;
import com.sporadic.client.pojo.DishesType;
import com.sporadic.client.service.DishesTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DishesTypeServiceImpl implements DishesTypeService {

    @Autowired
    private DishesTypeMapper dishesTypeMapper;
    @Override
    public List<DishesType> selDshesTypeAll(Integer dtMerchantId) {
        return this.dishesTypeMapper.selDshesTypeAll(dtMerchantId);
    }

    @Override
    public List<DishesType> findDshesTypeAll(Integer dtMerchantId) {
        return this.dishesTypeMapper.findDshesTypeAll(dtMerchantId);
    }
}
